﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace MSH.Common.DAO
{
    [DataContract]
    public class UserLocationData
    {
        public UserLocationData(double lat, double lng)
        {
            Latitude = lat;
            Longitude = lng;
        }

        [DataMember]
        public double Latitude
        {
            get;
            set;
        }

        [DataMember]
        public double Longitude
        {
            get;
            set;
        }

        [DataMember]
        public String AddressLine
        {
            get;
            set;
        }

        [DataMember]
        public String AdminDistrict
        {
            get;
            set;
        }

        [DataMember]
        public String CountryRegion
        {
            get;
            set;
        }

        [DataMember]
        public String Locality
        {
            get;
            set;
        }

        [DataMember]
        public String PostalCode
        {
            get;
            set;
        }

        [DataMember]
        public Double Distance
        {
            get;
            set;
        }

        [DataMember]
        public String DisplayablePosition
        {
            get;
            set;
        }
    }
}
